@import './panels.less';
@import './position.less';

@tabs-prefix-cls: ym-tabs;

@primaryColor: #f66e2c;

.@{tabs-prefix-cls} {
  &-nav {
    overflow-y: hidden;
    overflow-x: auto;
    font-size: 16px;
    &-wrap {
    }
    &-list {
      display: flex;
      flex-flow: row nowrap;
      justify-content: center;
      position: relative;
      transition: transform 0.3s;
    }
  }
  &-tab {
    border: 0;
    // background: rgba(255, 255, 255, 50%);
    margin: 0;
    outline: none;
    cursor: pointer;
    align-items: center;
    font-weight: 500;
    color: #333;
    &-active {
      font-weight: 600;
      color: @primaryColor;
    }
    &-disabled {
      color: rgba(0, 0, 0, 25%);
      cursor: not-allowed;
    }
    &-btn {
      border: 0;
      background: transparent;
      line-height: 40px;
    }
  }

  &-ink-bar {
    position: absolute;
    background: @primaryColor;
    pointer-events: none;
    bottom: 0;
    height: 2px;
    &-animated {
      transition: all 0.3s;
    }
  }
}
